package edu.hawaii.ics111.exam;

/**
 * Instructions for a group of questions.
 * 
 * @author Branden Ogata
 *
 */

public class ExamInstruction extends ExamItem
{
  /**
   * The instructions for a group of questions.
   * 
   */
  private String instruction;
  
  /**
   * Initializes the instructions for a group of questions.
   * 
   * @param instruction 
   * 
   */
  
  public ExamInstruction(String instruction)
  {
    this.instruction = instruction;
  }

  /**
   * Returns the instruction of this ExamInstruction.
   *
   * @return instruction The String containing the instruction of this ExamInstruction.
   *
   */
  
  public String getInstruction()
  {
    return this.instruction;
  }

  /**
   * Sets the instruction of this ExamInstruction.
   *
   * @param instruction The String containing the instruction to set for this ExamInstruction.
   *
   */
  
  public void setInstruction(String instruction)
  {
    this.instruction = instruction;
  }
}
